package com.hig.risk.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;
import java.util.List;

/**
 * 重大隐患自查清单对象 risk_self_inspection
 * 
 * @author scp
 * @date 2024-09-29
 */
public class RiskSelfInspectionStatic
{
    private static final long serialVersionUID = 1L;

    /** 主键ID */
    private Long id;

    /** 自查更新时间 */
//    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "排查时间")
    private String inspectionTime;

    /** 部门ID */
    @Excel(name = "部门")
    private String deptName;

    /** 排查人员 */
    @Excel(name = "排查人员")
    private String createBy;

    /** 判定依据 */
    @Excel(name = "判定依据")
    private String basis;

    /** 清单数量 */
    @Excel(name = "清单数量")
    private Integer num;

    /** 符合 */
    @Excel(name = "符合")
    private Integer accordNum;

    /** 不符合 */
    @Excel(name = "不符合")
    private Integer unAccordNum;

    /** 不涉及 */
    @Excel(name = "不涉及")
    private Integer unInvolvedNum;

    private String remarkSpare1;
    private String remark;
    private Long deptId;

    private Long userId;

    private List<RiskSelfInspection> contentList;

    private List<RiskSelfInspectionBasis> basisList;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public String getInspectionTime() {
        return inspectionTime;
    }

    public void setInspectionTime(String inspectionTime) {
        this.inspectionTime = inspectionTime;
    }

    public String getDeptName() {
        return deptName;
    }

    public void setDeptName(String deptName) {
        this.deptName = deptName;
    }

    public String getCreateBy() {
        return createBy;
    }

    public void setCreateBy(String createBy) {
        this.createBy = createBy;
    }

    public Integer getNum() {
        return num;
    }

    public void setNum(Integer num) {
        this.num = num;
    }

    public Integer getAccordNum() {
        return accordNum;
    }

    public void setAccordNum(Integer accordNum) {
        this.accordNum = accordNum;
    }

    public Integer getUnAccordNum() {
        return unAccordNum;
    }

    public void setUnAccordNum(Integer unAccordNum) {
        this.unAccordNum = unAccordNum;
    }

    public Integer getUnInvolvedNum() {
        return unInvolvedNum;
    }

    public void setUnInvolvedNum(Integer unInvolvedNum) {
        this.unInvolvedNum = unInvolvedNum;
    }

    public List<RiskSelfInspection> getContentList() {
        return contentList;
    }

    public void setContentList(List<RiskSelfInspection> contentList) {
        this.contentList = contentList;
    }

    public String getRemarkSpare1() {
        return remarkSpare1;
    }

    public void setRemarkSpare1(String remarkSpare1) {
        this.remarkSpare1 = remarkSpare1;
    }

    public Long getDeptId() {
        return deptId;
    }

    public void setDeptId(Long deptId) {
        this.deptId = deptId;
    }

    public Long getUserId() {
        return userId;
    }

    public void setUserId(Long userId) {
        this.userId = userId;
    }

    public List<RiskSelfInspectionBasis> getBasisList() {
        return basisList;
    }

    public void setBasisList(List<RiskSelfInspectionBasis> basisList) {
        this.basisList = basisList;
    }

    public String getBasis() {
        return basis;
    }

    public void setBasis(String basis) {
        this.basis = basis;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .toString();
    }
}
